namespace Aesha.WoW.Broker.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class v4 : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.AuctionListings", "AuctionId", c => c.Long(nullable: false));
            AlterColumn("dbo.AuctionListings", "Owner", c => c.String(maxLength: 50, unicode: false));
            AlterColumn("dbo.AuctionListings", "TimeLeft", c => c.String(maxLength: 10, unicode: false));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.AuctionListings", "TimeLeft", c => c.String());
            AlterColumn("dbo.AuctionListings", "Owner", c => c.String());
            AlterColumn("dbo.AuctionListings", "AuctionId", c => c.Long(nullable: false, identity: true));
        }
    }
}
